# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
pkgname=hare-ssh
pkgver=0_git20231113
_commit=e127e44cdce948b062edfe754776c3daa7ad8204
pkgrel=2
pkgdesc="SSH support for Hare"
url="https://sr.ht/~sircmpwn/hare-ssh"
arch="noarch !armhf !armv7 !ppc64le !s390x !x86" #hare
license="MPL-2.0"
makedepends="hare"
source="
	$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-ssh/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
7d8a95ba90535eea5e5b32eb75da2cad1ba5159214afaa8ee1a7a2fd429864125ee46e1e78d1d1ad1bb761ec53f072241ea967666db0839b2ba03e083c54f54b  hare-ssh-e127e44cdce948b062edfe754776c3daa7ad8204.tar.gz
"
